package com.caipin.domain.excel;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:23
 * @Description: TODO
 */
public class ClassInvasionSummaryExcel {
    private String date;

    private String grade;

    private String clbum;

    private String imageUrl;

    public com.caipin.domain.excel.ClassInvasionSummaryExcel setDate(String date) {
        this.date = date;
        return this;
    }

    public com.caipin.domain.excel.ClassInvasionSummaryExcel setGrade(String grade) {
        this.grade = grade;
        return this;
    }

    public com.caipin.domain.excel.ClassInvasionSummaryExcel setClbum(String clbum) {
        this.clbum = clbum;
        return this;
    }

    public com.caipin.domain.excel.ClassInvasionSummaryExcel setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.excel.ClassInvasionSummaryExcel))
            return false;
        com.caipin.domain.excel.ClassInvasionSummaryExcel other = (com.caipin.domain.excel.ClassInvasionSummaryExcel)o;
        if (!other.canEqual(this))
            return false;
        Object this$date = getDate(), other$date = other.getDate();
        if ((this$date == null) ? (other$date != null) : !this$date.equals(other$date))
            return false;
        Object this$grade = getGrade(), other$grade = other.getGrade();
        if ((this$grade == null) ? (other$grade != null) : !this$grade.equals(other$grade))
            return false;
        Object this$clbum = getClbum(), other$clbum = other.getClbum();
        if ((this$clbum == null) ? (other$clbum != null) : !this$clbum.equals(other$clbum))
            return false;
        Object this$imageUrl = getImageUrl(), other$imageUrl = other.getImageUrl();
        return !((this$imageUrl == null) ? (other$imageUrl != null) : !this$imageUrl.equals(other$imageUrl));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.excel.ClassInvasionSummaryExcel;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $date = getDate();
        result = result * 59 + (($date == null) ? 43 : $date.hashCode());
        Object $grade = getGrade();
        result = result * 59 + (($grade == null) ? 43 : $grade.hashCode());
        Object $clbum = getClbum();
        result = result * 59 + (($clbum == null) ? 43 : $clbum.hashCode());
        Object $imageUrl = getImageUrl();
        return result * 59 + (($imageUrl == null) ? 43 : $imageUrl.hashCode());
    }

    public String toString() {
        return "ClassInvasionSummaryExcel(date=" + getDate() + ", grade=" + getGrade() + ", clbum=" + getClbum() + ", imageUrl=" + getImageUrl() + ")";
    }

    public String getDate() {
        return this.date;
    }

    public String getGrade() {
        return this.grade;
    }

    public String getClbum() {
        return this.clbum;
    }

    public String getImageUrl() {
        return this.imageUrl;
    }
}

